package com.carleasoft.mps.adu.business.role.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 数据权限编码集合表
 * </p>
 *
 * @author ztm
 * @since 2021-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("m_authority_data_perms")
@ApiModel(value="AuthorityDataPerms对象", description="数据权限编码集合表")
public class AuthorityDataPermsEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "数据权限类型")
    @TableField("DATA_CODE")
    private String dataCode;

    @ApiModelProperty(value = "可能是组织分类编码、组织编码、部门编码")
    @TableField("PERM_CODES")
    private String permCodes;


}
